package data;

/**
 *
 * @author groep 11
 * @date 2007-2008
 */
public class Log {
    private int logId;
    private String eventName;
    private String eventType;
    private String description;
    private int userId;

    /**
     * Contstructor with all parameters
     * @param logId
     * @param eventName
     * @param eventType
     * @param description
     * @param userId
     */
    public Log(int logId, String eventName, String eventType, String description, int userId) {
        this.setLogId(logId);
        this.setEventName(eventName);
        this.setEventType(eventType);
        this.setDescription(description);
        this.setUserId(userId);
    }
    
    /**
     * Constructor with all parameters but logId
     * By default logId is set to 0
     * @param eventName
     * @param eventType
     * @param description
     * @param userId
     */
    public Log(String eventName, String eventType, String description, int userId) {
        this(0, eventName, eventType, description, userId);
    }
    
    
    public int getLogId() {
        return logId;
    }

    public void setLogId(int logId) {
        this.logId = logId;
    }


    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }


    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }


    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

}
